<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./css/xuezi.css"/>
		<link rel="stylesheet" type="text/css" href="./css/zhuce.css"/>
		<!--<script src="./js/zhuce.js" type="text/javascript" charset="utf-8"></script>-->
		<script type="text/javascript">
			function denglu(){
				var user=document.getElementById("user").value;
				var pwd=document.getElementById("psw").value;
				//判断
				 if(user==""){
					alert("错误")
				} 
			    if(user=='123456' && pwd=='123456'){
					// alert("账户或密码错误");
						setTimeout('location.href = "xuezi.html"', 1000);
				}
				/* if(user!='123456' && pwd!='123456'&&user!=""){
					//window.open('xuezi.html');
					// setTimeout(location.href="xuezi.html")
					alert("账户或密码错误");
				} */
				else{
					alert("账户或密码错误");
				}
			}
			function yh(){
					var user=document.getElementById("user").value;
				if(user ==null || user ==""){
					alert("用户名不能为空");
					return false;
				}
			}
		</script>
	</head>
	<body>
		<div class="head">
			<img src="./image/logo.png" >
			<p>欢迎登录</p>
		</div>
		<div class="dljm">
			<div class="login">
				<div class="dl">
				<p class="xzi">登录学子商城</p>
				<a href="zc.html">
				<p class="newuser">新用户注册</p></a></div>
			<div class="x"></div>
			<div class="text">
				<input type="text" placeholder="请输入您的用户名" id="user" value="" />
				<img src="./image/yhm.png" onclick="yh()">
			</div>
			<div class="text">
				<input type="password" placeholder="请输入您的密码" id="psw" value="" />
			    <img src="./image/mm.png" >
			</div>
			<button class="dlbox" type="submit" id="login-button" onclick="denglu()">登录</button>
			</div>
		</div>
		<div class="foot_bg">
				<div class="foot_imgbox">
					<img src="./image/icon1.png" class="foot_img">
					<p class="foot_font">品质保障</p>
				</div>
				<div class="foot_imgbox">
					<img src="./image/icon2.png" class="foot_img">
					<p class="foot_font">私人定制</p>
				</div>
				<div class="foot_imgbox">
					<img src="./image/icon3.png" class="foot_img">
					<p class="foot_font">学员特供</p>
				</div>
				<div class="foot_imgbox">
					<img src="./image/icon4.png" class="foot_img">
					<p class="foot_font">专属特权</p>
				</div>
			</div>
			<div class="foot_bj">
				<div class="foot">
					<div class="foot_mine">
						<div class="imgbox">
							<img src="./image/logo.png" alt="" class="img_logo">
							<img src="./image/footerFont.png" class="img_font">
						</div>
						<div class="foot_fontbox">
							<ul class="foot_lie">
								<li>
									<a href="#">
										<h3 class="mjbz">买家帮助</h3>
									</a>
								</li>
								<li>
									<a href="#" class="font">新手指南</a>
								</li>
								<li>
									<a href="#" class="font">服务保障</a>
								</li>
								<li>
									<a href="#" class="font">常见问题</a>
								</li>
		
							</ul>
							<ul class="foot_lie">
								<li>
									<a href="#">
										<h3 class="mjbz">商家帮助</h3>
									</a>
								</li>
								<li>
									<a href="#" class="font">商家入驻</a>
								</li>
								<li>
									<a href="#" class="font">商家后台</a>
								</li>
		
		
							</ul>
							<ul class="foot_lie">
								<li>
									<a href="#">
										<h3 class="mjbz">关于我们</h3>
									</a>
								</li>
								<li>
									<a href="#" class="font">关于达内</a>
								</li>
								<li>
									<a href="#" class="font">联系我们</a>
								</li>
								<li>
									<img src="./image/wechat.png" class="foot_logo">
									<img src="./image/sinablog.png" class="foot_logo">
								</li>
		
							</ul>
						</div>
						<div class="foot_xiazai">
							<div class="kehuduan">
								<p>学子商城客户端</p>
								<img src="./image/ios.png" class="xiazai_img1">
								<img src="./image/android.png" class="xiazai_img1">
							</div>
							<div class="xiazai_img">
								<img src="./image/erweima.png">
							</div>
						</div>
					</div>
					<div class="beianhao">
						©2017 达内科技有限公司 版权所有 京ICP备08000853号-75
					</div>
				</div>
			</div>
		</body>
	</body>
</html>
